package com.audi.box.service;

import java.util.ArrayList;

import com.audi.dto.SmartTriggerWhenItem;

public interface SmartTriggerWhenService {
    public int addSmartTriggerWhen(SmartTriggerWhenItem trigger);
    
    public int updateSmartTriggerWhen(SmartTriggerWhenItem trigger);
    
    public boolean isExist(SmartTriggerWhenItem trigger);
    
    public ArrayList<SmartTriggerWhenItem> getListSmartTriggerWhen();
    
    public SmartTriggerWhenItem getSmartTrigger(int triggerId);
    
    public int getDeviceValueFromWhen(SmartTriggerWhenItem trigger);
    
    public int deleteSmartTriggerWhen(SmartTriggerWhenItem trigger);
}
